<template>
	<div class="test">
		<h2>注意：！！！ 这是测试路由，上线时要删掉</h2>
		<button @click="test">点我测试获取一下首页的三级分类</button>
	</div>
</template>

<script>
	import {reqCategotyList} from '@/api'

	export default {
		name:'Test',
		methods: {
			async test(){
				let result = await reqCategotyList()
				console.log(result)
			},
		},
	}
</script>

<style lang="less" scoped>
	.test{
		background-color: gray;
		height: 200px;
	}
</style>